package com.lysj.admin.master.bussiness.company.company.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lysj.admin.master.bussiness.admin.domain.CompanyProviderBind;
import com.lysj.admin.master.bussiness.company.company.domain.CommissionDetail;
import com.lysj.admin.master.bussiness.company.company.vo.EmployeeCommissionVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author Created by drj on 2019-12-27 16:23
 * @description
 */
public interface CommissionDetailMapper extends BaseMapper<CommissionDetail> {
    List<EmployeeCommissionVO> findEmployeeCommissionList(@Param(Constants.WRAPPER) Wrapper<CommissionDetail> wrapper);

    EmployeeCommissionVO employeeCommissionDetail(@Param(Constants.WRAPPER) Wrapper<CommissionDetail> wrapper);

    Page<EmployeeCommissionVO> findCommissionDetailList(@Param(Constants.WRAPPER) Wrapper<CommissionDetail> wrapper, Page<CommissionDetail> page);
}
